package sf.jaxb.model;


import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(namespace = "sf.jaxb.model")
@XmlType(propOrder = {
    "name", "location", "bookList"
})
public class Bookstore
{

  @XmlElementWrapper(name = "bookList")
  @XmlElement(name = "book")
  private List<Book> bookList;
  private String name;
  private String location;

  public List<Book> getBooksList()
  {
    return bookList;
  }

  public String getLocation()
  {
    return location;
  }

  public String getName()
  {
    return name;
  }

  public void setBookList(final List<Book> bookList)
  {
    this.bookList = bookList;
  }

  public void setLocation(final String location)
  {
    this.location = location;
  }

  public void setName(final String name)
  {
    this.name = name;
  }

}
